const state = {
    list: []
}
const actions = {
    setNews({commit}, list) {
        commit('SET_NEWS', list)
    }
}

const mutations = {
    SET_NEWS(state, list) {
        state.news = list
    }
}




export default {
    namespaced: true,
    state,
    actions,
    mutations,
 }
